﻿namespace Magic.System;

public interface IChatHub
{
    /// <summary>
    /// 强制下线
    /// </summary>
    /// <param name="context"></param>
    /// <returns></returns>
    Task ForceOffline(object context);
    /// <summary>
    /// 接收消息
    /// </summary>
    /// <param name="context"></param>
    /// <returns></returns>
    Task ReceiveMessage(object context);
    /// <summary>
    /// 接收消息
    /// </summary>
    /// <param name="message"></param>
    /// <returns></returns>
    Task SendMessage(MessageInput input);
}
